Is it legal to use element ID to pass data?
Updated: 2011-02-28 15:39:35
Hi all,
I wrote a little live clock in JS (using Steve Levithan's "date format" code) that formats the time display according to a format string. I then find all elements by classname and search for a classname of "clock" and write the clock string to the innerHTML of every element I find.
...